package com.econ.powercloud.ems.dal.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.econ.powercloud.ems.dal.entity.ExtIotViceProductYk;
import com.econ.powercloud.ems.dal.entity.ext.IotViceDeviceYkYtExt;
import com.econ.powercloud.ems.dal.entity.ext.IotViceProductYkYtExt;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ Description:
 * @ Author：hgp
 * @ Create:2022-05-23-16:58
 */
public interface ExtIotViceProductYkMapper extends BaseMapper<ExtIotViceProductYk> {

    List<IotViceDeviceYkYtExt> selectYkYtByInitDeviceCodeAndLocation(@Param("initDeviceCodes")List<String> initDeviceCodes,
                                                                     @Param("location")Integer location);

    List<IotViceProductYkYtExt> selectYkByProductKeyAndModuleCode(@Param("initDeviceCode")String initDeviceCode,
                                                                  @Param("moduleCode")String moduleCode);
}
